package com.dz.lm.service.comp.role;

import com.dz.lm.common.dto.CompUserDTO;
import com.dz.lm.common.dto.PageDto;
import com.dz.lm.common.exception.ServiceException;
import com.dz.lm.domain.comprole.CompRole;

import javax.management.relation.Role;
import java.util.List;

public interface CompRoleService {
    int add(CompRole role) throws ServiceException;

    int update(CompRole role) throws ServiceException;

    int delete(int roleId) throws ServiceException;

    CompRole get(int roleId) throws ServiceException;

    List<CompRole> getByComp(int compId) throws ServiceException;


}
